package org.jeecg.modules.mr.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.mr.entity.MrBookMeters;

import java.util.List;
import java.util.Map;

/**
 * @Description: 抄表顺序
 * @Author: jeecg-boot
 * @Date:   2022-02-03
 * @Version: V1.0
 */
public interface IMrBookMetersService extends IService<MrBookMeters> {

    //查询抄表本树
    JSONArray queryBookTree(Map<String, Object> requestParams);
    //查询抄表本
    List<Map<String, Object>> queryBookList(Map<String, Object> requestParams);

    /**查询抄表本抄表用户记录*/
    List<Map<String,Object>>queryBookReadMater( String bookId,String keyword);

    List<Map<String,Object>>queryBookOrderMater( String bookId);

    void saveOrderMater(JSONArray orderData);
}
